package com.hyq.learn.security.cipher;

import jakarta.servlet.http.HttpServletRequest;

/**
 * @author : heyuqin
 * @since : 2024/03/05 18:46
 */
public class DESCipherDecision implements CipherDecision {

    @Override
    public boolean validate(HttpServletRequest request) {
        return "post".equalsIgnoreCase(request.getMethod());
    }
}
